package armserver.jms.wmq;

public interface JmsConnectionMBean {
	
	public boolean connect() throws Exception;
	
	public void disconnection() throws Exception;
	
	public boolean connected() throws Exception;
	
	public boolean sendMessage(String message) throws Exception;
	
	public boolean sendMessage(String message,int messageType) throws Exception;
	
	public void setHost( String host);
	
	public void setPort(int port);
	
	public void setCcsid(int ccsid);
	
	public void setQueueManager(String queueManager);
	
	public void setQueueName(String queueName);
	
	public void setChannel(String channel);
	
	public boolean connect(String host,int port,String queueManager,String channel,int ccsid) throws Exception;
	
	public boolean connect(String host,int port,String queueManager,String channel,int ccsid,int priority) throws Exception;
	
	public String recieveMessage() throws Exception;
	
	public void setConnectionName(String connectionName);
	
	public String getHost();
	
	public int getPort();
	
	public int getCcsid();
	
	public String getQueueManager();
	
	public String getQueueName();
	
	public String getChannel();
	
	public String getConnectionName();
	
	public boolean isConnected();
	
	public void setPriority(int priority);
	
	public int getPriority();
	
	public long getCurrentDep() ;

	public int getOpenInputCount();

	public int getMaxDep();

	public int getDefindeType();

	public int getQueueType();

	public String getQueueDesc();

	public int getOpenOutputCount();
	
	public void getQueueInfo();
}
